/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package generics;

/**
 *
 * @author anh_yeu_em_nhieu_lam
 */
public class GenericsClassBasic {
    class ClassGenericBasicOne<T>{ 
        T c;
        public ClassGenericBasicOne(T c) {
            this.c = c;
        }
        public T Inramanhinh(){
            return c;
        }
    }
    public static void main(String[] args){
        System.out.print(new GenericsClassBasic().new ClassGenericBasicOne<String>("This is string").Inramanhinh());
    }
}
/*
This is string
 * */